DocumentReference System API - Implementation Template (US Core)

(0 reviews)

Custom object creation

DocumentReference

To create a custom object in Health Cloud (HealthCloudGA_EhrDocumentReference__c):

  1. From Health Cloud in the upper right corner, click the settings (gear) icon.
  2. Click Setup.
  3. From the Home tab in the left menu, expand 'Objects and Fields' and then click Object Manager.
  4. In the upper right corner, click the Create dropdown and then select 'Custom Object'.
  5. Set the following:
    • Label: Document Reference
    • Plural Label: Document References
    • Object Name: HealthCloudGA_EhrDocumentReference
    • Description: Custom DiagnosticReport object
    • Record Name: Name
    • Data Type: Text
    • Deployment Status: In Development (Recommended when setting up; set to Deployed when ready to use.)
  6. Click Save.
  7. In the 'Fields and Relationships' page, use the 'New' button and then create the following fields:
Field LabelField NameData Type
Content TitleContent_Title__cText(100)
Content TypeContent_Type__cText(100)
Content URLContent_URL__cText(100)
Created ByCreatedByIdLookup(User)
Created DateCreated_Date__cDate/Time
custodianAccount__cLookup(Account)
DescriptionDescription__cText(100)
Document Category CodeDocument_Category_Code__cText(100)
Document Category LabelDocument_Category_Label__cText(100)
Document Category SystemDocument_Category_System__cText(100)
Document Format CodeDocument_Format_Code__cText(100)
Document Format LabelDocument_Format_Label__cText(100)
Document Format SystemDocument_Format_System__cText(100)
Document Kind CodeDocument_Kind_Code__cText(100)
Document Kind LabelDocument_Kind_Label__cText(100)
Document Kind SystemdocumentKindSystem__cText(100)
Document StatusdocStatus__cPicklist (preliminary, final, amended,entered-in-errordocStatus)
EHR Document ReferenceNameText(80)
EncounterEncounter__cLookup(EHR Encounter)
Last Modified ByLastModifiedByIdLookup(User)
OwnerOwnerIdLookup(User,Group)
PatientPatient__cLookup(EHR Patient)
PractitionerPractitioner__cLookup(EHR Practitioner)
Source SystemHealthCloudGA_Source_System__cText(64)
Source System IdHealthCloudGA_SourceSystemId__cText Area(255)
Source System ModifiedHealthCloudGA_Source_System_Modified__cDate/Time
statusstatus__cPicklist (current,superseded,entered-in-error)

Reviews

TypeTemplate
OrganizationMulesoft
Published by
MuleSoft Organization
Published onDec 13, 2022
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.3